home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / software-center.postinst < prev    next >
Text File  |  2009-10-26  |  530b  |  28 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. # Automatically added by dh_pycentral
  6. rm -f /var/lib/pycentral/software-center.pkgremove
  7. if which pycentral >/dev/null 2>&1; then
  8.     pycentral pkginstall software-center
  9.     if grep -qs '^software-center$' /var/lib/pycentral/delayed-pkgs; then
  10.         sed -i '/^software-center$/d' /var/lib/pycentral/delayed-pkgs
  11.     fi
  12. fi
  13. # End automatically added section
  14.  
  15.  
  16. if [ "$1" = "triggered" ] || [ "$1" = "configure" ]; then
  17.  
  18.     # update the application data
  19.     update-software-center --triggered "$2" || true
  20.  
  21.     exit 0
  22. fi
  23.  
  24.  
  25.  
  26.  
  27.  
  28.